package com.jieyang.oa.service;

import com.jieyang.oa.pojo.entity.Dept;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author 29276
 * @version 1.0
 * @description: TODO
 * @date 2021/8/15 10:45
 */
@Service("deptService")
public interface DeptService {
    public Integer insert(Dept dept);

    public List<Dept> selectList();

    public Integer delete(Integer deptNo);

    public Dept selectByDeptNo(Integer deptNo);

    public Integer update(Dept dept);
}
